
<?php
$DocRoot = $_SERVER['DOCUMENT_ROOT'];
include_once "$DocRoot/woflow/model/entity.php";
class OrgLDAP extends Entity
{
	public function __construct($bReadOnly=false)
	{
		parent::__construct("org_ldap", "emailID", $bReadOnly=false);
	}
	public function getEmailID()
	{
		return $this->emailID;

	}
	public function setEmailID($emailID)
	{
		$this->emailID = $emailID;

	}
	public function getReportees()
	{
		return $this->reportees;

	}
	public function setReportees($reportees)
	{
		$this->reportees = $reportees;

	}
	public function toJSON()
	{
		return json_decode(
			array(
				"emailID" => $this->emailID,
				"reportees" => $this->reportees
			)
		);

	}

	private $emailID;
	private $reportees;
}
?>
